home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_400
/
422_02
/
laptalk
/
phone.scr
< prev
next >
Wrap
Text File
|
1994-03-20
|
525b
|
19 lines
rem Example of a simple phone menu implementation
rem This script gives an example of a "computed goto", based on the
rem selection from a "menu" statement.
rem Note that "System4" performs several commands, switching to a different
rem configuration, invoking terminal mode, and then switching back.
menu A System1 System2 System3 System4
goto +\A
:-1 error No system dialed!
:0 chain dial 555-1234
:1 chain dial 555-1235
:2 chain dial 555-1236
:3 config host
call dial 555-1237
terminal
config laptalk